using System;
using System.Xml.Serialization;

namespace Aop.Api.Domain
{
    /// <summary>
    /// AlipayEcoMycarUserMsgPushModel Data Structure.
    /// </summary>
    [Serializable]
    public class AlipayEcoMycarUserMsgPushModel : AopObject
    {
        /// <summary>
        /// ISV消息ID,去重使用，防止重复推送给用户
        /// </summary>
        [XmlElement("isv_msg_id")]
        public string IsvMsgId { get; set; }

        /// <summary>
        /// ISV名称
        /// </summary>
        [XmlElement("isv_name")]
        public string IsvName { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        [XmlElement("msg_data")]
        public string MsgData { get; set; }

        /// <summary>
        /// 图标URL
        /// </summary>
        [XmlElement("msg_img")]
        public string MsgImg { get; set; }

        /// <summary>
        /// 资讯消息时间，格式YYYYmmDDHHMMSS
        /// </summary>
        [XmlElement("msg_time")]
        public string MsgTime { get; set; }

        /// <summary>
        /// 消息标题
        /// </summary>
        [XmlElement("msg_title")]
        public string MsgTitle { get; set; }

        /// <summary>
        /// 消息类型：1，普通； 2，推广
        /// </summary>
        [XmlElement("msg_type")]
        public string MsgType { get; set; }

        /// <summary>
        /// 消息模板ID，由支付宝提供
        /// </summary>
        [XmlElement("templet_id")]
        public string TempletId { get; set; }
    }
}
